package cate.common.table.guild.guildboss;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;

@EExcelRowClass(IDTitle = "第几关")
public class GuildBossCombatRow extends ERow {
    @EExcelNoteField(fieldName = "第几关")
    public int combatNum;
    @EExcelNoteField(fieldName = "怪物方实例")
    public String bossInstanceId;
    @EExcelNoteField(fieldName = "BOSS血量")
    public long bossHp;
    @EExcelNoteField(fieldName = "固定奖励")
    public String damageRewardStr;
    @EExcelNoteField(fieldName = "击杀奖励")
    public String killRewardStr;

    @Override
    public void decode() {
        if (bossHp <= 0) {
            bossHp = 100;
        }
    }
}
